Fix MessageCache issue which caused the MediaWiki namespace to be ignored on the...
authorTim Starling <tstarling@users.mediawiki.org>
Fri, 27 Apr 2007 16:36:34 +0000 (16:36 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Fri, 27 Apr 2007 16:36:34 +0000 (16:36 +0000)
includes/MessageCache.php

index 319b9f6..45fad81 100644 (file)
@@ -544,8 +544,7 @@ class MessageCache {
                                $type = substr( $entry, 0, 1 );
 
                                if ( $type == ' ' ) {
-                                       $message = substr( $entry, 1 );
-                                       $this->mCache[$title] = $message;
+                                       $this->mCache[$title] = $entry;
                                        return $message;
                                } elseif ( $entry == '!NONEXISTENT' ) {
                                        return false;